<!DOCTYPE html> <title>Basic Emulator</title
><!-- not BASIC! -->

<script src="libv86.js"></script>
<script>
  "use strict";

  window.onload = function () {
    var emulator = (window.emulator = new V86({
      wasm_path: "v86.wasm",
      memory_size: 64 * 1024 * 1024,
      vga_memory_size: 4 * 1024 * 1024,
      screen_container: document.getElementById("screen_container"),
      bios: {
        url: "bios/seabios.bin",
      },
      vga_bios: {
        url: "bios/vgabios.bin",
      },
      cdrom: {
        url: "images/linux.iso",
      },
      autostart: true,
    }));
  };
</script>

<!-- A minimal structure for the ScreenAdapter defined in browser/screen.js -->
<div id="screen_container">
  <div style="white-space: pre; font: 20px monospace; line-height: 20px"></div>
  <canvas style="display: none"></canvas>
</div>
